![]() | ![]() | ![]() | ![]() |
When you use the PIPE filename engine in a Vista, Windows 7, or Windows 2003 or 2008 server operating environment, the DATA step does not run completely, and an error message might appear. Here is an example:
1 filename DIR pipe "dir /B /A-D c:\"; 2 3 data directoryDataSet_C_Drive; 4 length line $ 1024; 5 infile DIR; 6 input; 7 line = _infile_; 8 run; NOTE: The infile DIR is: Unnamed Pipe Access Device, PROCESS=dir /B /A-D c:\,RECFM=V,LRECL=256 Stderr output: There is not enough space on the disk. NOTE: 0 records were read from the infile DIR. -or- Stderr output: stdout: Bad file descriptor NOTE: 0 records were read from the infile DIR.
The error message occurs if you invoke SAS through the standard shortcut, a desktop shortcut, or directly from the sas.exe in Windows Explorer.
To work around this issue, do one of the following:
C:\Windows\System32\cmd.exe /c "C:\Progra~1\SAS\SASFoundation\9.2\sas.exe -CONFIG C:\Progra~1\SAS\SASFoundation\9.2\nls\en\SASV9.CFG"
(Notice the change in quoting from the original command.)
Product Family | Product | System | Product Release | SAS Release | ||
Reported | Fixed* | Reported | Fixed* | |||
SAS System | Base SAS | Microsoft® Windows® for x64 | 9.21_M3 | 9.3 | 9.2 TS2M0 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Standard Edition | 9.21_M3 | 9.3_M1 | 9.2 TS2M3 | 9.3 TS1M0 | ||
Microsoft Windows Server 2003 for x64 | 9.21_M3 | 9.3_M1 | 9.2 TS2M3 | 9.3 TS1M0 | ||
Microsoft Windows Server 2008 | 9.21_M3 | 9.3_M1 | 9.2 TS2M3 | 9.3 TS1M0 | ||
Microsoft Windows Server 2008 for x64 | 9.21_M3 | 9.3_M1 | 9.2 TS2M3 | 9.3 TS1M0 | ||
Windows 7 Enterprise 32 bit | 9.21_M3 | 9.3_M1 | 9.2 TS2M3 | 9.3 TS1M0 | ||
Windows 7 Enterprise x64 | 9.21_M3 | 9.3_M1 | 9.2 TS2M3 | 9.3 TS1M0 | ||
Microsoft Windows Server 2003 Enterprise Edition | 9.21_M3 | 9.3_M1 | 9.2 TS2M3 | 9.3 TS1M0 | ||
Microsoft Windows Server 2003 Datacenter Edition | 9.21_M3 | 9.3_M1 | 9.2 TS2M3 | 9.3 TS1M0 | ||
Windows 7 Home Premium 32 bit | 9.21_M3 | 9.3_M1 | 9.2 TS2M3 | 9.3 TS1M0 | ||
Windows 7 Home Premium x64 | 9.21_M3 | 9.3_M1 | 9.2 TS2M3 | 9.3 TS1M0 | ||
Windows 7 Professional 32 bit | 9.21_M3 | 9.3_M1 | 9.2 TS2M3 | 9.3 TS1M0 | ||
Windows 7 Professional x64 | 9.21_M3 | 9.3_M1 | 9.2 TS2M3 | 9.3 TS1M0 | ||
Windows 7 Ultimate 32 bit | 9.21_M3 | 9.3_M1 | 9.2 TS2M3 | 9.3 TS1M0 | ||
Windows 7 Ultimate x64 | 9.21_M3 | 9.3_M1 | 9.2 TS2M3 | 9.3 TS1M0 | ||
Windows Vista | 9.21_M3 | 9.3_M1 | 9.2 TS2M3 | 9.3 TS1M0 | ||
Windows Vista for x64 | 9.21_M3 | 9.3_M1 | 9.2 TS2M3 | 9.3 TS1M0 |